package com.hmall.item.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "hm.es")
public class Esproperties {
        private String host;
        private Integer port = 9200;

    }

